package net.vinote.smart.platform.service.dw.html.css;

public final class CSS {
	public static final String CSS_READONLY = "readonly";// 只读样式值
	public static final String CSS_DISABLED = "disabled";// 禁用样式值
	public static CSS READONLY = new CSS("readonly");// 只读样式
	public static CSS DISABLED = new CSS("disabled");
	String cssName;

	private CSS(String name) {
		this.cssName = name;
	}

	public String getCSS() {
		return cssName;
	}

	@Override
	public int hashCode() {
		return super.hashCode();
	}

	@Override
	public boolean equals(Object obj) {
		if (obj != null && obj instanceof CSS) {
			CSS objcss = (CSS) obj;
			if (objcss.cssName != null && objcss.cssName.equals(this.cssName)) {
				return true;
			}
		}
		return false;
	}

}
